package edu.uprm.ece.icom4035.polynomial;

public interface Term {
	
	/**
	 * Gets the coefficient of the term
	 * @return term coefficient
	 */
	public double getCoefficient();
	
	/**
	 * Gets the exponent of the term
	 * @return term exponent
	 */
	public int getExponent();
	
	/**
	 * Evaluate the term with the given value
	 * @param x value to evaluate the term
	 * @return result
	 */
	public double evaluate(double x);
	
}
